namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("DEV_GREASE")]
    public partial class DEV_GREASE
    {
        [Key]
        [StringLength(40)]
        public string GREASE_ID { get; set; }

        [Required]
        [StringLength(40)]
        public string EQUIPMENT_ID { get; set; }

        [Required]
        [StringLength(50)]
        public string MODEL { get; set; }

        [Required]
        [StringLength(50)]
        public string POSITION { get; set; }

        public int CYCLE { get; set; }

        public int CONSUMPTION { get; set; }

        public virtual PUB_EQUIPMENT PUB_EQUIPMENT { get; set; }
    }
}
